const { fork } = require('child_process');
const showFile = fork('../src/showFile.js');

showFile.send('showFile ab.txt');
showFile.on('message', data => {
    console.log(data);
    process.exit(0);
})